package com.yc.booktable.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.sql.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zbh
 * @since 2022-06-06
 */
@AllArgsConstructor
@NoArgsConstructor
public class Bookinfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long bid;

    private Date date;

    private Integer number;

    private String mark;

    private Integer status;

    
    public Long getBid() {
        return bid;
    }

      public void setBid(Long bid) {
          this.bid = bid;
      }
    
    public Date getDate() {
        return date;
    }

      public void setDate(Date date) {
          this.date = date;
      }
    
    public Integer getNumber() {
        return number;
    }

      public void setNumber(Integer number) {
          this.number = number;
      }
    
    public String getMark() {
        return mark;
    }

      public void setMark(String mark) {
          this.mark = mark;
      }
    
    public Integer getStatus() {
        return status;
    }

      public void setStatus(Integer status) {
          this.status = status;
      }

    @Override
    public String toString() {
        return "Bookinfo{" +
              "bid=" + bid +
                  ", date=" + date +
                  ", number=" + number +
                  ", mark=" + mark +
                  ", status=" + status +
              "}";
    }
}
